package com.design.patterns.behavioralModel.abstractFactory.factory;

import com.design.patterns.behavioralModel.abstractFactory.porduct.HtmlDocument;
import com.design.patterns.behavioralModel.abstractFactory.porduct.WordDocument;

/**
 * 创建抽象工厂，由“供应商”去提供创建相关产品的工厂
 * “供应商”需要去实现这个抽象接口，从而产生对应的工厂
 */
public interface AbstractFactory {
    // 创建Html文档:
    HtmlDocument createHtml();
    // 创建Word文档:
    WordDocument createWord();
}
